<script>
    export default {
        onLaunch(options) {
            this.$store.dispatch("initApp", options);
            this.$store.dispatch('getMessageIds'); //获取模板消息
            // #ifdef MP-WEIXIN
            this.$store.dispatch('mp_update');
            // #endif
            // #ifdef H5
            if (typeof location.entryUrl === 'undefined' || location.entryUrl === '') {
                location.entryUrl = location.href
            }
            // #endif
        },
        onShow: function() {
            uni.hideTabBar({
                animation: false
            })
        },

    };
</script>
<style lang="scss">
    @import "./static/css/iconfont.css";
    @import "./static/css/icons.scss";
    @import 'tour.css';
    @import "node_modules/uview-ui/index.scss";
    view,
    scroll-view,
    swiper,
    swiper-item,
    cover-view,
    cover-image,
    icon,
    text,
    rich-text,
    progress,
    button,
    checkbox,
    form,
    input,
    label,
    radio,
    slider,
    switch,
    textarea,
    navigator,
    audio,
    camera,
    image,
    video {
        box-sizing: border-box;
    }
    .u-scroll-list{
        padding-bottom: 0!important;
    }
</style>